package aiguigu07.encapsulation;

/**
 * ClassName: PersonTest
 * Package: aiguigu07.encapsulation
 * Description:
 *
 * @Author ZY
 * @Create 2024/10/10 21:47
 * @Version 1.0
 */
public class PersonTest {
    public static void main(String[] args) {

        Person p1 = new Person();

        p1.setAge(20);
        System.out.println(p1.getAge());




    }
}
